﻿@model GiaoTrinhEPU.Models.LoginModel
@{
    ViewBag.Title = "Login";
    Layout = "~/Views/Shared/_LayoutLogin.cshtml";
}


<div class="container">

    <header>
        <h1>Quản Lý Giáo Trình Thư Viện <span>EPU</span></h1>
    </header>
    <section>
        <div id="container_demo">
            <div id="wrapper">
                <div id="login" class="animate form">
                    @using (Html.BeginForm("Login","Account",new { ReturnUrl = ViewBag.ReturnUrl }))
                    {
                        @Html.AntiForgeryToken()
                        <h1>ĐĂNG NHẬP</h1>
                        <div class="error">@Html.ValidationSummary(true)</div> 
                        <p>
                            <label for="username" class="uname" data-icon="u">Tên đăng nhập </label>
                            @*  <input id="username" name="username" required="required" type="text" placeholder="Tài khoản" />*@
                            @Html.TextBoxFor(model => model.UserName, new { placeholder = "Tên đăng nhập", required = "required" })
                        </p>
                        <p>
                            <label for="password" class="youpasswd" data-icon="p">Mật khẩu </label>
                            @Html.PasswordFor(model => model.Password, new { placeholder = "Mật khẩu", required = "required" })
                        </p>
                        <p class="keeplogin">
                           @Html.CheckBoxFor(m=>m.RememberMe)
                              @Html.LabelFor(m => m.RememberMe)
                          
                        </p>
                        <p class="login button">
                            <input type="submit" value="Login" />
                        </p>
                    
                    }
                </div>
            </div>
        </div>
    </section>
</div>
